package jp.dodododo.dao.util;

import java.sql.ResultSet;
import java.sql.SQLException;

import jp.dodododo.dao.exception.SQLRuntimeException;

/**
 * 
 * @author Satoshi Kimura
 */
public abstract class ResultSetUtil {

	public static void close(ResultSet rs) {
		if (rs == null) {
			return;
		}
		try {
			rs.close();
		} catch (SQLException e) {
			throw new SQLRuntimeException(e);
		}
	}
}
